package com.showcai.dao;

import com.showcai.module.Media;

import java.util.List;
import java.util.Map;

public interface MediaMapper {

    int insertMedia(Media record);

    List<Media> selectMediaList(Map<String,String> map);
    List<Media> selectPushMediaList(String devicId);
    List<Media> selectPushMediaListByclassify(Map<String,String> map);
    Media selectMediaById(Long tid);
    void deleteMediaById(Long tid);

    int updateMediaByPrimaryKeySelective(Media record);


    int updateMediaById(Media record);
}